package com.ysh.mybatis.pojo;


import java.util.List;

public class TSubjects {

  private String name;
  private long id;
  private long grade;
  private List<TStudents> students;

  @Override
  public String toString() {
    return "TSubjects{" +
            "name='" + name + '\'' +
            ", id=" + id +
            ", grade=" + grade +
            ", students=" + students +
            '}';
  }

  public List<TStudents> getStudents() {
    return students;
  }

  public void setStudents(List<TStudents> students) {
    this.students = students;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getGrade() {
    return grade;
  }

  public void setGrade(long grade) {
    this.grade = grade;
  }

}
